<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>JSTypeRegistry (Closure Compiler)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="JSTypeRegistry (Closure Compiler)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/google/javascript/rhino/jstype/JSTypeRegistry.html" target="_top">Frames</a></li>
<li><a href="JSTypeRegistry.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.google.javascript.rhino.jstype</div>
<h2 title="Class JSTypeRegistry" class="title">Class JSTypeRegistry</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.google.javascript.rhino.jstype.JSTypeRegistry</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">JSTypeRegistry</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">The type registry is used to resolve named types.

 <p>This class is not thread-safe.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.google.javascript.rhino.jstype.JSTypeRegistry">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype">JSTypeRegistry.ResolveMode</a></strong></code>
<div class="block">The type registry has three modes, which control how type ASTs are
 converted to types in <a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope)"><code>createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope&lt;com.google.javascript.rhino.jstype.JSType&gt;)</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#OBJECT_ELEMENT_TEMPLATE">OBJECT_ELEMENT_TEMPLATE</a></strong></code>
<div class="block">The name associated with the template variable corresponding to the
 property value type for Javascript Objects and Arrays.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#OBJECT_INDEX_TEMPLATE">OBJECT_INDEX_TEMPLATE</a></strong></code>
<div class="block">The name associated with the template variable corresponding to the
 property key type of the built-in Javascript object.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#JSTypeRegistry(com.google.javascript.rhino.ErrorReporter)">JSTypeRegistry</a></strong>(<a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a>&nbsp;reporter)</code>
<div class="block">Constructs a new type registry populated with the built-in types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#JSTypeRegistry(com.google.javascript.rhino.ErrorReporter, boolean)">JSTypeRegistry</a></strong>(<a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a>&nbsp;reporter,
              boolean&nbsp;tolerateUndefinedValues)</code>
<div class="block">Constructs a new type registry populated with the built-in types.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#canPropertyBeDefined(com.google.javascript.rhino.jstype.JSType, java.lang.String)">canPropertyBeDefined</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                    java.lang.String&nbsp;propertyName)</code>
<div class="block">Returns whether the given property can possibly be set on the given type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#clearNamedTypes()">clearNamedTypes</a></strong>()</code>
<div class="block">Flushes out the current resolved and unresolved Named Types from
 the type registry.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#clearTemplateTypeNames()">clearTemplateTypeNames</a></strong>()</code>
<div class="block">Clears the template type name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createAnonymousObjectType(com.google.javascript.rhino.JSDocInfo)">createAnonymousObjectType</a></strong>(<a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino">JSDocInfo</a>&nbsp;info)</code>
<div class="block">Create an anonymous object type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createConstructorType(com.google.javascript.rhino.jstype.JSType, boolean, com.google.javascript.rhino.jstype.JSType...)">createConstructorType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                     boolean&nbsp;lastVarArgs,
                     <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a function type which can act as a constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createConstructorType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">createConstructorType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                     <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a function type which can act as a constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createConstructorType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.JSType, com.google.common.collect.ImmutableList)">createConstructorType</a></strong>(java.lang.String&nbsp;name,
                     <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
                     <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;parameters,
                     <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                     com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys)</code>
<div class="block">Creates a constructor function type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createDefaultObjectUnion(com.google.javascript.rhino.jstype.JSType)">createDefaultObjectUnion</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Creates a type representing nullable values of the given type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/EnumType.html" title="class in com.google.javascript.rhino.jstype">EnumType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createEnumType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.JSType)">createEnumType</a></strong>(java.lang.String&nbsp;name,
              <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
              <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;elementsType)</code>
<div class="block">Creates an enum type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope)">createFromTypeNodes</a></strong>(<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;n,
                   java.lang.String&nbsp;sourceName,
                   <a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope)</code>
<div class="block">Creates a JSType from the nodes representing a type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionType(com.google.javascript.rhino.jstype.JSType, boolean, com.google.javascript.rhino.jstype.JSType...)">createFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                  boolean&nbsp;lastVarArgs,
                  <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a function type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">createFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                  <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a function type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionType(com.google.javascript.rhino.jstype.JSType, java.util.List)">createFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                  java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a function type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.Node)">createFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                  <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;parameters)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionType(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType, java.util.List)">createFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;instanceType,
                  <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                  java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a function type in which <code>this</code> refers to an object instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionTypeWithNewReturnType(com.google.javascript.rhino.jstype.FunctionType, com.google.javascript.rhino.jstype.JSType)">createFunctionTypeWithNewReturnType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;existingFunctionType,
                                   <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType)</code>
<div class="block">Creates a new function type based on an existing function type but
 with a new return type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionTypeWithNewThisType(com.google.javascript.rhino.jstype.FunctionType, com.google.javascript.rhino.jstype.ObjectType)">createFunctionTypeWithNewThisType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;existingFunctionType,
                                 <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;thisType)</code>
<div class="block">Creates a new function type based on an existing function type but
 with a new <code>this</code> type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">createFunctionTypeWithVarArgs</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                             <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a function type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.JSType, java.util.List)">createFunctionTypeWithVarArgs</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                             java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a function type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType, java.util.List)">createFunctionTypeWithVarArgs</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;instanceType,
                             <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                             java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a function type in which <code>this</code> refers to an object instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createInterfaceType(java.lang.String, com.google.javascript.rhino.Node, com.google.common.collect.ImmutableList)">createInterfaceType</a></strong>(java.lang.String&nbsp;name,
                   <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
                   com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys)</code>
<div class="block">Creates an interface function type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createNamedType(java.lang.String, java.lang.String, int, int)">createNamedType</a></strong>(java.lang.String&nbsp;reference,
               java.lang.String&nbsp;sourceName,
               int&nbsp;lineno,
               int&nbsp;charno)</code>
<div class="block">Creates a named type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createNullableType(com.google.javascript.rhino.jstype.JSType)">createNullableType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Creates a type representing nullable values of the given type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createObjectType(com.google.javascript.rhino.jstype.ObjectType)">createObjectType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;implicitPrototype)</code>
<div class="block">Create an object type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createObjectType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.ObjectType)">createObjectType</a></strong>(java.lang.String&nbsp;name,
                <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;n,
                <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;implicitPrototype)</code>
<div class="block">Create an object type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createOptionalNullableType(com.google.javascript.rhino.jstype.JSType)">createOptionalNullableType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Creates a nullable and undefine-able value of the given type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createOptionalParameters(com.google.javascript.rhino.jstype.JSType...)">createOptionalParameters</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a tree hierarchy representing a typed parameter list in which
 every parameter is optional.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createOptionalType(com.google.javascript.rhino.jstype.JSType)">createOptionalType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Creates a type representing optional values of the given type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createParameters(com.google.javascript.rhino.jstype.JSType...)">createParameters</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createParameters(java.util.List)">createParameters</a></strong>(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createParametersWithVarArgs(com.google.javascript.rhino.jstype.JSType...)">createParametersWithVarArgs</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</code>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createParametersWithVarArgs(java.util.List)">createParametersWithVarArgs</a></strong>(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</code>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.google.javascript.rhino.jstype.RecordType</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createRecordType(java.util.Map)">createRecordType</a></strong>(java.util.Map&lt;java.lang.String,com.google.javascript.rhino.jstype.RecordTypeBuilder.RecordProperty&gt;&nbsp;properties)</code>
<div class="block">Creates a record type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createTemplateType(java.lang.String)">createTemplateType</a></strong>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplateTypeMap.html" title="class in com.google.javascript.rhino.jstype">TemplateTypeMap</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createTemplateTypeMap(com.google.common.collect.ImmutableList, com.google.common.collect.ImmutableList)">createTemplateTypeMap</a></strong>(com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys,
                     com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templateValues)</code>
<div class="block">Creates a template type map from the specified list of template keys and
 template value types.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, com.google.common.collect.ImmutableList)">createTemplatizedType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                     com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templatizedTypes)</code>
<div class="block">Creates a templatized instance of the specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType...)">createTemplatizedType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                     <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;templatizedTypes)</code>
<div class="block">Creates a templatized instance of the specified type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, java.util.Map)">createTemplatizedType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                     java.util.Map&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>,<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templatizedTypes)</code>
<div class="block">Creates a templatized instance of the specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createUnionType(com.google.javascript.rhino.jstype.JSType...)">createUnionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;variants)</code>
<div class="block">Creates a union type whose variants are the arguments.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#createUnionType(com.google.javascript.rhino.jstype.JSTypeNative...)">createUnionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>...&nbsp;variants)</code>
<div class="block">Creates a union type whose variants are the built-in types specified
 by the arguments.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#declareType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">declareType</a></strong>(java.lang.String&nbsp;name,
           <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;t)</code>
<div class="block">Records declared global type names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#forwardDeclareType(java.lang.String)">forwardDeclareType</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Records a forward-declared type name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getDirectImplementors(com.google.javascript.rhino.jstype.ObjectType)">getDirectImplementors</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;interfaceInstance)</code>
<div class="block">Returns a collection of types that directly implement <code>interfaceInstance</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getEachReferenceTypeWithProperty(java.lang.String)">getEachReferenceTypeWithProperty</a></strong>(java.lang.String&nbsp;propertyName)</code>
<div class="block">Returns each reference type that has a property <code>propertyName</code>
 defined on it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getErrorReporter()">getErrorReporter</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getGreatestSubtypeWithProperty(com.google.javascript.rhino.jstype.JSType, java.lang.String)">getGreatestSubtypeWithProperty</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                              java.lang.String&nbsp;propertyName)</code>
<div class="block">Gets the greatest subtype of the <code>type</code> that has a property
 <code>propertyName</code> defined on it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getNativeFunctionType(com.google.javascript.rhino.jstype.JSTypeNative)">getNativeFunctionType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getNativeObjectType(com.google.javascript.rhino.jstype.JSTypeNative)">getNativeObjectType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getNativeType(com.google.javascript.rhino.jstype.JSTypeNative)">getNativeType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getObjectElementKey()">getObjectElementKey</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getObjectIndexKey()">getObjectIndexKey</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getType(com.google.javascript.rhino.jstype.StaticScope, java.lang.String, java.lang.String, int, int)">getType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope,
       java.lang.String&nbsp;jsTypeName,
       java.lang.String&nbsp;sourceName,
       int&nbsp;lineno,
       int&nbsp;charno)</code>
<div class="block">Looks up a type by name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getType(java.lang.String)">getType</a></strong>(java.lang.String&nbsp;jsTypeName)</code>
<div class="block">Looks up a type by name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#getTypesWithProperty(java.lang.String)">getTypesWithProperty</a></strong>(java.lang.String&nbsp;propertyName)</code>
<div class="block">Returns each type that has a property <code>propertyName</code> defined on it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#hasNamespace(java.lang.String)">hasNamespace</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Determines whether the given JS package exists.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#identifyNonNullableName(java.lang.String)">identifyNonNullableName</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Identifies the name of a typedef or enum before we actually declare it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#incrementGeneration()">incrementGeneration</a></strong>()</code>
<div class="block">Increments the current generation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#isForwardDeclaredType(java.lang.String)">isForwardDeclaredType</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Whether this is a forward-declared type name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#overwriteDeclaredType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">overwriteDeclaredType</a></strong>(java.lang.String&nbsp;name,
                     <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;t)</code>
<div class="block">Overrides a declared global type name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#registerPropertyOnType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">registerPropertyOnType</a></strong>(java.lang.String&nbsp;propertyName,
                      <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Tells the type system that <code>owner</code> may have a property named
 <code>propertyName</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#resetForTypeCheck()">resetForTypeCheck</a></strong>()</code>
<div class="block">Reset to run the TypeCheck pass.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#resetImplicitPrototype(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.ObjectType)">resetImplicitPrototype</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                      <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;newImplicitProto)</code>
<div class="block">Set the implicit prototype if it's possible to do so.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#resolveTypesInScope(com.google.javascript.rhino.jstype.StaticScope)">resolveTypesInScope</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope)</code>
<div class="block">Resolve all the unresolved types in the given scope.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#setLastGeneration(boolean)">setLastGeneration</a></strong>(boolean&nbsp;lastGeneration)</code>
<div class="block">Sets whether this is the last generation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#setResolveMode(com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode)">setResolveMode</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype">JSTypeRegistry.ResolveMode</a>&nbsp;mode)</code>
<div class="block">Set the current resolving mode of the type registry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#setTemplateTypeNames(java.util.List)">setTemplateTypeNames</a></strong>(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;keys)</code>
<div class="block">Sets the template type name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#shouldTolerateUndefinedValues()">shouldTolerateUndefinedValues</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html#unregisterPropertyOnType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">unregisterPropertyOnType</a></strong>(java.lang.String&nbsp;propertyName,
                        <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</code>
<div class="block">Removes the index's reference to a property on the given type (if it is
 currently registered).</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="OBJECT_INDEX_TEMPLATE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OBJECT_INDEX_TEMPLATE</h4>
<pre>public static final&nbsp;java.lang.String OBJECT_INDEX_TEMPLATE</pre>
<div class="block">The name associated with the template variable corresponding to the
 property key type of the built-in Javascript object.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#com.google.javascript.rhino.jstype.JSTypeRegistry.OBJECT_INDEX_TEMPLATE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="OBJECT_ELEMENT_TEMPLATE">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OBJECT_ELEMENT_TEMPLATE</h4>
<pre>public static final&nbsp;java.lang.String OBJECT_ELEMENT_TEMPLATE</pre>
<div class="block">The name associated with the template variable corresponding to the
 property value type for Javascript Objects and Arrays.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#com.google.javascript.rhino.jstype.JSTypeRegistry.OBJECT_ELEMENT_TEMPLATE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="JSTypeRegistry(com.google.javascript.rhino.ErrorReporter)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSTypeRegistry</h4>
<pre>public&nbsp;JSTypeRegistry(<a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a>&nbsp;reporter)</pre>
<div class="block">Constructs a new type registry populated with the built-in types.</div>
</li>
</ul>
<a name="JSTypeRegistry(com.google.javascript.rhino.ErrorReporter, boolean)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSTypeRegistry</h4>
<pre>public&nbsp;JSTypeRegistry(<a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a>&nbsp;reporter,
              boolean&nbsp;tolerateUndefinedValues)</pre>
<div class="block">Constructs a new type registry populated with the built-in types.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getObjectElementKey()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectElementKey</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&nbsp;getObjectElementKey()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>The template variable corresponding to the property value type for
 Javascript Objects and Arrays.</dd></dl>
</li>
</ul>
<a name="getObjectIndexKey()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectIndexKey</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&nbsp;getObjectIndexKey()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>The template variable corresponding to the
 property key type of the built-in Javascript object.</dd></dl>
</li>
</ul>
<a name="setResolveMode(com.google.javascript.rhino.jstype.JSTypeRegistry.ResolveMode)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResolveMode</h4>
<pre>public&nbsp;void&nbsp;setResolveMode(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype">JSTypeRegistry.ResolveMode</a>&nbsp;mode)</pre>
<div class="block">Set the current resolving mode of the type registry.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype"><code>JSTypeRegistry.ResolveMode</code></a></dd></dl>
</li>
</ul>
<a name="getErrorReporter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorReporter</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/ErrorReporter.html" title="interface in com.google.javascript.rhino">ErrorReporter</a>&nbsp;getErrorReporter()</pre>
</li>
</ul>
<a name="shouldTolerateUndefinedValues()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldTolerateUndefinedValues</h4>
<pre>public&nbsp;boolean&nbsp;shouldTolerateUndefinedValues()</pre>
</li>
</ul>
<a name="resetForTypeCheck()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetForTypeCheck</h4>
<pre>public&nbsp;void&nbsp;resetForTypeCheck()</pre>
<div class="block">Reset to run the TypeCheck pass.</div>
</li>
</ul>
<a name="registerPropertyOnType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerPropertyOnType</h4>
<pre>public&nbsp;void&nbsp;registerPropertyOnType(java.lang.String&nbsp;propertyName,
                          <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Tells the type system that <code>owner</code> may have a property named
 <code>propertyName</code>. This allows the registry to keep track of what
 types a property is defined upon.

 This is NOT the same as saying that <code>owner</code> must have a property
 named type. ObjectType#hasProperty attempts to minimize false positives
 ("if we're not sure, then don't type check this property"). The type
 registry, on the other hand, should attempt to minimize false negatives
 ("if this property is assigned anywhere in the program, it must
 show up in the type registry").</div>
</li>
</ul>
<a name="unregisterPropertyOnType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unregisterPropertyOnType</h4>
<pre>public&nbsp;void&nbsp;unregisterPropertyOnType(java.lang.String&nbsp;propertyName,
                            <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Removes the index's reference to a property on the given type (if it is
 currently registered). If the property is not registered on the type yet,
 this method will not change internal state.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>propertyName</code> - the name of the property to unregister</dd><dd><code>type</code> - the type to unregister the property on.</dd></dl>
</li>
</ul>
<a name="getGreatestSubtypeWithProperty(com.google.javascript.rhino.jstype.JSType, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGreatestSubtypeWithProperty</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getGreatestSubtypeWithProperty(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                                    java.lang.String&nbsp;propertyName)</pre>
<div class="block">Gets the greatest subtype of the <code>type</code> that has a property
 <code>propertyName</code> defined on it.</div>
</li>
</ul>
<a name="canPropertyBeDefined(com.google.javascript.rhino.jstype.JSType, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canPropertyBeDefined</h4>
<pre>public&nbsp;boolean&nbsp;canPropertyBeDefined(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                           java.lang.String&nbsp;propertyName)</pre>
<div class="block">Returns whether the given property can possibly be set on the given type.</div>
</li>
</ul>
<a name="getTypesWithProperty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypesWithProperty</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;getTypesWithProperty(java.lang.String&nbsp;propertyName)</pre>
<div class="block">Returns each type that has a property <code>propertyName</code> defined on it.

 Like most types in our type system, the collection of types returned
 will be collapsed. This means that if a type is defined on
 <code>Object</code> and on <code>Array</code>, it would be reasonable for this
 method to return either <code>[Object, Array]</code> or just <code>[Object]</code>.</div>
</li>
</ul>
<a name="getEachReferenceTypeWithProperty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEachReferenceTypeWithProperty</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getEachReferenceTypeWithProperty(java.lang.String&nbsp;propertyName)</pre>
<div class="block">Returns each reference type that has a property <code>propertyName</code>
 defined on it.

 Unlike most types in our type system, the collection of types returned
 will not be collapsed. This means that if a type is defined on
 <code>Object</code> and on <code>Array</code>, this method must return
 <code>[Object, Array]</code>. It would not be correct to collapse them to
 <code>[Object]</code>.</div>
</li>
</ul>
<a name="incrementGeneration()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementGeneration</h4>
<pre>public&nbsp;void&nbsp;incrementGeneration()</pre>
<div class="block">Increments the current generation. Clients must call this in order to
 move to the next generation of type resolution, allowing types to attempt
 resolution again.</div>
</li>
</ul>
<a name="setLastGeneration(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastGeneration</h4>
<pre>public&nbsp;void&nbsp;setLastGeneration(boolean&nbsp;lastGeneration)</pre>
<div class="block">Sets whether this is the last generation. In the last generation,
 <code>NamedType</code> warns about unresolved types.</div>
</li>
</ul>
<a name="getDirectImplementors(com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectImplementors</h4>
<pre>public&nbsp;java.util.Collection&lt;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&gt;&nbsp;getDirectImplementors(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;interfaceInstance)</pre>
<div class="block">Returns a collection of types that directly implement <code>interfaceInstance</code>.  Subtypes of implementing types are not guaranteed to
 be returned.  <code>interfaceInstance</code> must be an ObjectType for the
 instance of the interface.</div>
</li>
</ul>
<a name="declareType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declareType</h4>
<pre>public&nbsp;boolean&nbsp;declareType(java.lang.String&nbsp;name,
                  <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;t)</pre>
<div class="block">Records declared global type names. This makes resolution faster
 and more robust in the common case.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the type to be recorded.</dd><dd><code>t</code> - The actual type being associated with the name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if this name is not already defined, false otherwise.</dd></dl>
</li>
</ul>
<a name="overwriteDeclaredType(java.lang.String, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>overwriteDeclaredType</h4>
<pre>public&nbsp;void&nbsp;overwriteDeclaredType(java.lang.String&nbsp;name,
                         <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;t)</pre>
<div class="block">Overrides a declared global type name. Throws an exception if this
 type name hasn't been declared yet.</div>
</li>
</ul>
<a name="forwardDeclareType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forwardDeclareType</h4>
<pre>public&nbsp;void&nbsp;forwardDeclareType(java.lang.String&nbsp;name)</pre>
<div class="block">Records a forward-declared type name. We will not emit errors if this
 type name never resolves to anything.</div>
</li>
</ul>
<a name="isForwardDeclaredType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isForwardDeclaredType</h4>
<pre>public&nbsp;boolean&nbsp;isForwardDeclaredType(java.lang.String&nbsp;name)</pre>
<div class="block">Whether this is a forward-declared type name.</div>
</li>
</ul>
<a name="hasNamespace(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNamespace</h4>
<pre>public&nbsp;boolean&nbsp;hasNamespace(java.lang.String&nbsp;name)</pre>
<div class="block">Determines whether the given JS package exists.</div>
</li>
</ul>
<a name="getType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getType(java.lang.String&nbsp;jsTypeName)</pre>
<div class="block">Looks up a type by name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsTypeName</code> - The name string.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the corresponding JSType object or <code>null</code> it cannot be found</dd></dl>
</li>
</ul>
<a name="getNativeType(com.google.javascript.rhino.jstype.JSTypeNative)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNativeType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getNativeType(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</pre>
</li>
</ul>
<a name="getNativeObjectType(com.google.javascript.rhino.jstype.JSTypeNative)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNativeObjectType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getNativeObjectType(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</pre>
</li>
</ul>
<a name="getNativeFunctionType(com.google.javascript.rhino.jstype.JSTypeNative)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNativeFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;getNativeFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>&nbsp;typeId)</pre>
</li>
</ul>
<a name="getType(com.google.javascript.rhino.jstype.StaticScope, java.lang.String, java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getType(<a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope,
             java.lang.String&nbsp;jsTypeName,
             java.lang.String&nbsp;sourceName,
             int&nbsp;lineno,
             int&nbsp;charno)</pre>
<div class="block">Looks up a type by name. To allow for forward references to types, an
 unrecognized string has to be bound to a NamedType object that will be
 resolved later.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>scope</code> - A scope for doing type name resolution.</dd><dd><code>jsTypeName</code> - The name string.</dd><dd><code>sourceName</code> - The name of the source file where this reference appears.</dd><dd><code>lineno</code> - The line number of the reference.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a NamedType if the string argument is not one of the known types,
     otherwise the corresponding JSType object.</dd></dl>
</li>
</ul>
<a name="clearNamedTypes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearNamedTypes</h4>
<pre>public&nbsp;void&nbsp;clearNamedTypes()</pre>
<div class="block">Flushes out the current resolved and unresolved Named Types from
 the type registry.  This is intended to be used ONLY before a
 compile is run.</div>
</li>
</ul>
<a name="resolveTypesInScope(com.google.javascript.rhino.jstype.StaticScope)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveTypesInScope</h4>
<pre>public&nbsp;void&nbsp;resolveTypesInScope(<a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope)</pre>
<div class="block">Resolve all the unresolved types in the given scope.</div>
</li>
</ul>
<a name="createOptionalType(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOptionalType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createOptionalType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Creates a type representing optional values of the given type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the union of the type and the void type</dd></dl>
</li>
</ul>
<a name="createDefaultObjectUnion(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDefaultObjectUnion</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createDefaultObjectUnion(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Creates a type representing nullable values of the given type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the union of the type and the Null type</dd></dl>
</li>
</ul>
<a name="createNullableType(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNullableType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createNullableType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Creates a type representing nullable values of the given type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the union of the type and the Null type</dd></dl>
</li>
</ul>
<a name="createOptionalNullableType(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOptionalNullableType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createOptionalNullableType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type)</pre>
<div class="block">Creates a nullable and undefine-able value of the given type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The union of the type and null and undefined.</dd></dl>
</li>
</ul>
<a name="createUnionType(com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createUnionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;variants)</pre>
<div class="block">Creates a union type whose variants are the arguments.</div>
</li>
</ul>
<a name="createUnionType(com.google.javascript.rhino.jstype.JSTypeNative...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUnionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createUnionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype">JSTypeNative</a>...&nbsp;variants)</pre>
<div class="block">Creates a union type whose variants are the built-in types specified
 by the arguments.</div>
</li>
</ul>
<a name="createEnumType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEnumType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/EnumType.html" title="class in com.google.javascript.rhino.jstype">EnumType</a>&nbsp;createEnumType(java.lang.String&nbsp;name,
                      <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
                      <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;elementsType)</pre>
<div class="block">Creates an enum type.</div>
</li>
</ul>
<a name="createFunctionType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                              <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.JSType, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionTypeWithVarArgs</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionTypeWithVarArgs(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                         java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type. The last parameter type of the function is
 considered a variable length argument.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionType(com.google.javascript.rhino.jstype.JSType, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                              java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionTypeWithVarArgs</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionTypeWithVarArgs(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                         <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type. The last parameter type of the function is
 considered a variable length argument.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createConstructorType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConstructorType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createConstructorType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                 <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type which can act as a constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionType(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;instanceType,
                        <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                        java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type in which <code>this</code> refers to an object instance.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instanceType</code> - the type of <code>this</code></dd><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionTypeWithVarArgs(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType, java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionTypeWithVarArgs</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createFunctionTypeWithVarArgs(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;instanceType,
                                   <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                   java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type in which <code>this</code> refers to an object instance.
 The last parameter type of the function is considered a variable length
 argument.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instanceType</code> - the type of <code>this</code></dd><dd><code>returnType</code> - the function's return type</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createParameters(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createParameters</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;createParameters(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterTypes</code> - the parameter types.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a tree hierarchy representing a typed argument list.</dd></dl>
</li>
</ul>
<a name="createParametersWithVarArgs(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createParametersWithVarArgs</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;createParametersWithVarArgs(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;parameterTypes)</pre>
<div class="block">Creates a tree hierarchy representing a typed argument list. The last
 parameter type is considered a variable length argument.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterTypes</code> - the parameter types. The last element of this array
     is considered a variable length argument.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a tree hierarchy representing a typed argument list.</dd></dl>
</li>
</ul>
<a name="createParameters(com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createParameters</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;createParameters(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a tree hierarchy representing a typed argument list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterTypes</code> - the parameter types.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a tree hierarchy representing a typed argument list.</dd></dl>
</li>
</ul>
<a name="createParametersWithVarArgs(com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createParametersWithVarArgs</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;createParametersWithVarArgs(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a tree hierarchy representing a typed argument list. The last
 parameter type is considered a variable length argument.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterTypes</code> - the parameter types. The last element of this array
     is considered a variable length argument.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a tree hierarchy representing a typed argument list.</dd></dl>
</li>
</ul>
<a name="createOptionalParameters(com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOptionalParameters</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;createOptionalParameters(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a tree hierarchy representing a typed parameter list in which
 every parameter is optional.</div>
</li>
</ul>
<a name="createFunctionType(com.google.javascript.rhino.jstype.JSType, boolean, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                              boolean&nbsp;lastVarArgs,
                              <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>lastVarArgs</code> - whether the last parameter type should be considered as
 an extensible var_args parameter</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createFunctionTypeWithNewReturnType(com.google.javascript.rhino.jstype.FunctionType, com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionTypeWithNewReturnType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionTypeWithNewReturnType(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;existingFunctionType,
                                               <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType)</pre>
<div class="block">Creates a new function type based on an existing function type but
 with a new return type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>existingFunctionType</code> - the existing function type.</dd><dd><code>returnType</code> - the new return type.</dd></dl>
</li>
</ul>
<a name="createFunctionTypeWithNewThisType(com.google.javascript.rhino.jstype.FunctionType, com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionTypeWithNewThisType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionTypeWithNewThisType(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;existingFunctionType,
                                             <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;thisType)</pre>
<div class="block">Creates a new function type based on an existing function type but
 with a new <code>this</code> type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>existingFunctionType</code> - the existing function type.</dd><dd><code>thisType</code> - the new this type.</dd></dl>
</li>
</ul>
<a name="createFunctionType(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createFunctionType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                              <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;parameters)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameters</code> - the function's parameters or <code>null</code>
        to indicate that the parameter types are unknown.</dd><dd><code>returnType</code> - the function's return type or <code>null</code> to indicate
        that the return type is unknown.</dd></dl>
</li>
</ul>
<a name="createConstructorType(com.google.javascript.rhino.jstype.JSType, boolean, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConstructorType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createConstructorType(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                 boolean&nbsp;lastVarArgs,
                                 <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;parameterTypes)</pre>
<div class="block">Creates a function type which can act as a constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnType</code> - the function's return type</dd><dd><code>lastVarArgs</code> - whether the last parameter type should be considered as
 an extensible var_args parameter</dd><dd><code>parameterTypes</code> - the parameters' types</dd></dl>
</li>
</ul>
<a name="createObjectType(com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createObjectType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;createObjectType(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;implicitPrototype)</pre>
<div class="block">Create an object type.</div>
</li>
</ul>
<a name="createRecordType(java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRecordType</h4>
<pre>public&nbsp;com.google.javascript.rhino.jstype.RecordType&nbsp;createRecordType(java.util.Map&lt;java.lang.String,com.google.javascript.rhino.jstype.RecordTypeBuilder.RecordProperty&gt;&nbsp;properties)</pre>
<div class="block">Creates a record type.</div>
</li>
</ul>
<a name="createObjectType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createObjectType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;createObjectType(java.lang.String&nbsp;name,
                          <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;n,
                          <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;implicitPrototype)</pre>
<div class="block">Create an object type.</div>
</li>
</ul>
<a name="createAnonymousObjectType(com.google.javascript.rhino.JSDocInfo)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAnonymousObjectType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;createAnonymousObjectType(<a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino">JSDocInfo</a>&nbsp;info)</pre>
<div class="block">Create an anonymous object type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>info</code> - Used to mark object literals as structs; can be <code>null</code></dd></dl>
</li>
</ul>
<a name="resetImplicitPrototype(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetImplicitPrototype</h4>
<pre>public&nbsp;boolean&nbsp;resetImplicitPrototype(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;type,
                             <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;newImplicitProto)</pre>
<div class="block">Set the implicit prototype if it's possible to do so.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if we were able to set the implicit prototype successfully,
     false if it was not possible to do so for some reason. There are
     a few different reasons why this could fail: for example, numbers
     can't be implicit prototypes, and we don't want to change the implicit
     prototype if other classes have already subclassed this one.</dd></dl>
</li>
</ul>
<a name="createConstructorType(java.lang.String, com.google.javascript.rhino.Node, com.google.javascript.rhino.Node, com.google.javascript.rhino.jstype.JSType, com.google.common.collect.ImmutableList)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConstructorType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createConstructorType(java.lang.String&nbsp;name,
                                 <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
                                 <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;parameters,
                                 <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;returnType,
                                 com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys)</pre>
<div class="block">Creates a constructor function type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the function's name or <code>null</code> to indicate that the
     function is anonymous.</dd><dd><code>source</code> - the node defining this function. Its type
     (<a href="../../../../../com/google/javascript/rhino/Node.html#getType()"><code>Node.getType()</code></a>) must be <a href="../../../../../com/google/javascript/rhino/Token.html#FUNCTION"><code>Token.FUNCTION</code></a>.</dd><dd><code>parameters</code> - the function's parameters or <code>null</code>
     to indicate that the parameter types are unknown.</dd><dd><code>returnType</code> - the function's return type or <code>null</code> to indicate
     that the return type is unknown.</dd><dd><code>templateKeys</code> - the templatized types for the class.</dd></dl>
</li>
</ul>
<a name="createInterfaceType(java.lang.String, com.google.javascript.rhino.Node, com.google.common.collect.ImmutableList)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createInterfaceType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;createInterfaceType(java.lang.String&nbsp;name,
                               <a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source,
                               com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys)</pre>
<div class="block">Creates an interface function type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the function's name</dd><dd><code>source</code> - the node defining this function. Its type
     (<a href="../../../../../com/google/javascript/rhino/Node.html#getType()"><code>Node.getType()</code></a>) must be <a href="../../../../../com/google/javascript/rhino/Token.html#FUNCTION"><code>Token.FUNCTION</code></a>.</dd><dd><code>templateKeys</code> - the templatized types for the interface.</dd></dl>
</li>
</ul>
<a name="createTemplateType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplateType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&nbsp;createTemplateType(java.lang.String&nbsp;name)</pre>
</li>
</ul>
<a name="createTemplateTypeMap(com.google.common.collect.ImmutableList, com.google.common.collect.ImmutableList)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplateTypeMap</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateTypeMap.html" title="class in com.google.javascript.rhino.jstype">TemplateTypeMap</a>&nbsp;createTemplateTypeMap(com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;templateKeys,
                                    com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templateValues)</pre>
<div class="block">Creates a template type map from the specified list of template keys and
 template value types.</div>
</li>
</ul>
<a name="createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, com.google.common.collect.ImmutableList)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplatizedType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a>&nbsp;createTemplatizedType(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                                    com.google.common.collect.ImmutableList&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templatizedTypes)</pre>
<div class="block">Creates a templatized instance of the specified type.  Only ObjectTypes
 can currently be templatized; extend the logic in this function when
 more types can be templatized.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseType</code> - the type to be templatized.</dd><dd><code>templatizedTypes</code> - a list of the template JSTypes. Will be matched by
     list order to the template keys on the base type.</dd></dl>
</li>
</ul>
<a name="createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplatizedType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a>&nbsp;createTemplatizedType(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                                    java.util.Map&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>,<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;templatizedTypes)</pre>
<div class="block">Creates a templatized instance of the specified type.  Only ObjectTypes
 can currently be templatized; extend the logic in this function when
 more types can be templatized.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseType</code> - the type to be templatized.</dd><dd><code>templatizedTypes</code> - a map from TemplateType to corresponding JSType
     value. Any unfilled TemplateTypes on the baseType that are *not*
     contained in this map will have UNKNOWN_TYPE used as their value.</dd></dl>
</li>
</ul>
<a name="createTemplatizedType(com.google.javascript.rhino.jstype.ObjectType, com.google.javascript.rhino.jstype.JSType...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTemplatizedType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/TemplatizedType.html" title="class in com.google.javascript.rhino.jstype">TemplatizedType</a>&nbsp;createTemplatizedType(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType,
                                    <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>...&nbsp;templatizedTypes)</pre>
<div class="block">Creates a templatized instance of the specified type.  Only ObjectTypes
 can currently be templatized; extend the logic in this function when
 more types can be templatized.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseType</code> - the type to be templatized.</dd><dd><code>templatizedTypes</code> - a list of the template JSTypes. Will be matched by
     list order to the template keys on the base type.</dd></dl>
</li>
</ul>
<a name="createNamedType(java.lang.String, java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNamedType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createNamedType(java.lang.String&nbsp;reference,
                     java.lang.String&nbsp;sourceName,
                     int&nbsp;lineno,
                     int&nbsp;charno)</pre>
<div class="block">Creates a named type.</div>
</li>
</ul>
<a name="identifyNonNullableName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identifyNonNullableName</h4>
<pre>public&nbsp;void&nbsp;identifyNonNullableName(java.lang.String&nbsp;name)</pre>
<div class="block">Identifies the name of a typedef or enum before we actually declare it.</div>
</li>
</ul>
<a name="createFromTypeNodes(com.google.javascript.rhino.Node, java.lang.String, com.google.javascript.rhino.jstype.StaticScope)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromTypeNodes</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;createFromTypeNodes(<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;n,
                         java.lang.String&nbsp;sourceName,
                         <a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;&nbsp;scope)</pre>
<div class="block">Creates a JSType from the nodes representing a type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>n</code> - The node with type info.</dd><dd><code>sourceName</code> - The source file name.</dd><dd><code>scope</code> - A scope for doing type name lookups.</dd></dl>
</li>
</ul>
<a name="setTemplateTypeNames(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTemplateTypeNames</h4>
<pre>public&nbsp;void&nbsp;setTemplateTypeNames(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/TemplateType.html" title="class in com.google.javascript.rhino.jstype">TemplateType</a>&gt;&nbsp;keys)</pre>
<div class="block">Sets the template type name.</div>
</li>
</ul>
<a name="clearTemplateTypeNames()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>clearTemplateTypeNames</h4>
<pre>public&nbsp;void&nbsp;clearTemplateTypeNames()</pre>
<div class="block">Clears the template type name.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeNative.html" title="enum in com.google.javascript.rhino.jstype"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.ResolveMode.html" title="enum in com.google.javascript.rhino.jstype"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/google/javascript/rhino/jstype/JSTypeRegistry.html" target="_top">Frames</a></li>
<li><a href="JSTypeRegistry.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
